<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <link rel="icon" href="/static/pic/logo2.png" type="image/x-icon"/>
    <title>数据分析展示平台</title>
    <!--bootstrap v3的核心样式-->
     <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
    <link href="https://cdn.bootcss.com/bootstrap-datetimepicker/4.17.47/css/bootstrap-datetimepicker.min.css"
          rel="stylesheet">
    <script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.js"></script>
    <script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <script src="https://cdn.bootcss.com/moment.js/2.24.0/moment-with-locales.js"></script>
    <script src="https://cdn.bootcss.com/bootstrap-datetimepicker/4.17.47/js/bootstrap-datetimepicker.min.js"></script>
    {% block css %}{% endblock %}
</head>
<body >

{#logo#}

{# style="border-radius: 0px;background-color: #0060A4;box-shadow: #c6c6c6 0px 0px 5px 5px">#}
<nav class="navbar navbar-default" style="background-color: rgba(255,255,255,0.9)">
    {#
    <nav class="navbar navbar-inverse">#}
    <div class="container-fluid" >
        <!-- Brand and toggle get grouped for better mobile display -->
        <div class="navbar-header" >

            <a class="navbar-brand" href="{{ buildUrl('/index') }}"
               style="margin: 10px 15px 0 5px;padding: 0 0 0 0;">
                <img alt="Brand" src="/static/pic/logo2.png" style="height: 30px;">
            </a>

            <a class="navbar-brand">西北区域公司</a>
        </div>

        {# 一级标题#}
        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
            <ul class="nav navbar-nav">
{#                <li class="active"><a href="{{ buildUrl('/index') }}">首页</a></li>#}
{#                <!--                <li><a href="{{ buildUrl('/person/personindex') }}">人员信息<span class="sr-only">(current)</span></a>-->#}
{#                <!--                </li>-->#}
                <li class="active"><a href="{{ buildUrl('/check/index') }}">考勤数据<span
                        class="sr-only">(current)</span></a>
                </li>
                <li><a href="{{ buildUrl('/bpm/index') }}">审批效率<span class="sr-only">(current)</span></a>
                </li>
                </li>
                <li><a href="{{ buildUrl('/seal/index') }}">用印数据<span class="sr-only">(current)</span></a>
                </li>
                <li><a href="{{ buildUrl('/thing/index') }}">耗材数据<span class="sr-only">(current)</span></a>
                </li>
                <li><a href="{{ buildUrl('/meeting/index') }}">会议数据<span class="sr-only">(current)</span></a>
                </li>
                <li><a href="{{ buildUrl('/mail/index') }}">寄件数据<span class="sr-only">(current)</span></a>
                </li>

            </ul>


            </form>
            <ul class="nav navbar-nav navbar-right">
                <li><a href="{{ buildUrl('/upload/bpm') }}" style="color: #6f9dc2">上传审批效率数据</a></li>
                <li><a href="{{ buildUrl('/upload/check') }}" style="color: #6f9dc2">上传考勤数据</a></li>
                {# {% if current_user.company =="西北区域公司" %}#}
                {#
                    <li><a href="{{ buildUrl('/document') }}" style="color: #6f9dc2">发布通知</a></li>
                    #}
                {#
                    <li><a href="{{ buildUrl('/record') }}" style="color: #6f9dc2">操作记录查询</a></li>
                    #}
                {#
                    <li><a href="{{ buildUrl('/member/admin') }}" style="color: #6f9dc2">人员权限管理</a></li>
                    #}
                {# {% endif %}#}
                {# {% if current_user %}#}
                {#
                    <li><a href="javascript:void(0);">{{ current_user.nickname }}</a></li>
                    #}
                {#
                    <li><a href="javascript:void(0);">{{ current_user.company }}</a></li>
                    #}
                {#
                    <li><a href="{{ buildUrl('/member/logout') }}">退出</a></li>
                    #}
                {# {% else %}#}
                {#
                    <li><a href="{{ buildUrl('/member/reg') }}">注册</a></li>
                    #}
                {#
                    <li><a href="{{ buildUrl('/member/login') }}">登录</a></li>
                    #}
                {# {% endif %}#}
            </ul>
        </div><!-- /.navbar-collapse -->
    </div><!-- /.container-fluid -->
</nav>
<div class="container-fluid" style="min-height: 700px;margin-top: 10px;">
    {% block content %} {% endblock %}
</div>
{#<footer class="text-center">#}
{#    ©Copyright 2021 太原富力城房地产开发有限公司版权所有 | 晋ICP备2020013633号-2#}
{#</footer>#}

<script src="{{ buildStaticUrl('/plugins/jquery.min.js') }}"></script>
<script src="{{ buildStaticUrl('/plugins/bootstrap_v3/js/bootstrap.min.js') }}"></script>
<script src="{{ buildStaticUrl('/plugins/layer/layer.js') }}"></script>
<script src="{{ buildStaticUrl('/js/common.js') }}"></script>


<script>
    $(function () {
        $(".collapse").find("li").each(function () {
            var a = $(this).find("a:first")[0];
            if ($(a).attr("href").split("/")[1] === location.pathname.split("/")[1]) {
                $(this).addClass("active");
            } else {
                $(this).removeClass("active");
            }
        });
    })
</script>

{% block js %} {% endblock %}
</body>
</html>